#ifndef __RECT_INCLUDE
#define __RECT_INCLUDE

#include "polygon.h"

class Rectangle : public Polygon {
    public:
        /**
          Default constructor
          Parameters:
            int length = length of the object 
            int width =  width of the object
        */
        Rectangle(int, int);
        
        /** Overriden from Polygon.  Prints the area of the rectangle. */        
        void area();

        /** Overriden from Polygon.  Prints the perimeter of the rectangle. */        
        void perimeter();

        /** Overriden from Polygon.  No-op because a rectangle is 2D */        
        void volume();
        
    protected:
        /** Instance variable containing the length */
        int l;
        /** Instance variable containing the width */
        int w;
};

#endif